'use strict';

var gulp = require('gulp');
var htmlmin = require('gulp-htmlmin');
var revCollector = require('gulp-rev-collector');
var config = require('../config');
var handleErrors = require('../utils/handleErrors');

// html压缩
gulp.task('html', function() {
    return gulp.src(config.html.src).pipe(htmlmin(config.html.settings)).pipe(gulp.dest(config.html.dest)).on('error', handleErrors);
});
